// 多个商品下单传参
export type JumpToMultiCheckOutParams = {
  // 商品数组
  skuInfos: Array<JumpToMultiCheckOutSkuInfos>;
};

// 多个商品下单 SkuInfos 参数格式
export type JumpToMultiCheckOutSkuInfos = {
  skuId: number | string;
  num: number;
};

// 跳转到小程序传参
export type NavigateToMiniProgramParams = {
  appId: number | string;
  path: string;
  extraData: Record<string, any>;
};

// 跳转到商品详情
export type NavigateToNativeProductDetailParams = {
  skuId: number | string;
  param: Record<string, any>;
};

// 跳转到店铺首页
export type NavigateToNativeShopIndexParams = {
  shopId: number | string;
  venderId: number | string;
  param: Record<string, any>;
};

// 单商品跳转到下单页
export type JumpToCheckOutParams = {
  skuId: number | string;
  num: number;
};

// 跳转到直播间
export type NavigateToNativeLivePlayerRoomParams = {
  id: number | string;
  param: Record<string, any>;
};

// IOS跳转到咚咚客服
export type NavigateToNativeDongDongChatByIosParams = {
  venderId: number | string;
  param: Record<string, any>;
};

// IOS跳转到咚咚客服
export type NavigateToNativeDongDongChatByAndroidParams = {
  venderId: number | string;
  shopId: number | string;
  customer_type: number;
  param: Record<string, any>;
};

// IOS跳转到咚咚客服
export type NavigateToNativeDongDongGroupChatParams = {
  groupId: number | string;
  param: Record<string, any>;
};

// 跳转入会
export type NavigateToNativeJoinMemberParams = {
  url: number | string;
  param: Record<string, any>;
};
